<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="topbar::static">
</head>

<body>
<!--引用公用的导航栏-->
<nav th:replace="topbar::topbar"></nav>
<div class="container-fluid">
    <div class="row">
        <div th:replace="topbar::sidebar(activeUri='podInfo.html')"></div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h1 class="page-header">5GC MANO</h1>
            <h2 class="sub-header">Pod信息展示</h2>
            <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>id</th>
                        <th>namespace</th>
                        <th>podName</th>
                        <th>deployOnNodeName</th>
                        <th>deployOnNodeIp</th>
                        <th>deploymentName</th>
                        <th>cpuRequest</th>
                        <th>memoryRequest</th>
                        <th>cpuUsage</th>
                        <th>memoryUsage</th>
                        <th>phase</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr th:each="podInfo:${podInfos}">
                        <td th:text="${podInfo.id}"></td>
                        <td th:text="${podInfo.namespace}"></td>
                        <td th:text="${podInfo.podName}"></td>
                        <td th:text="${podInfo.deployOnNodeName}"></td>
                        <td th:text="${podInfo.deployOnNodeIp}"></td>
                        <td th:text="${podInfo.deploymentName}"></td>
                        <td th:text="${podInfo.cpuRequest}"></td>
                        <td th:text="${podInfo.memoryRequest}"></td>
                        <td th:text="${podInfo.cpuUsage}"></td>
                        <td th:text="${podInfo.memoryUsage}"></td>
                        <td th:text="${podInfo.phase}"></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>
